package uw.illno.test;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import uw.illno.service.AdministratorService;

public class testSpring {
    @Test
   public void run(){
       ApplicationContext applicationContext=new ClassPathXmlApplicationContext("application.xml");
        AdministratorService as=(AdministratorService) applicationContext.getBean("adminsevice");
       as.findAll();
   }
}
